package com.itcast.bulls.stock.entity;

import java.io.Serializable;

/**
 * 机构表
 * 
 * t_institution
 *
 *
 * @mbg.generated Thu Jun 15 17:12:08 CST 2023
 */
public class TInstitution implements Serializable {
    /**
     * 机构id
     */
    private Long id;

    /**
     * 机构类型id
     */
    private String institutionTypeId;

    /**
     * 机构关联id
     */
    private Long detailInstitutionId;

    /**
     * 机构关联名称
     */
    private String detailInstitutionName;

    /**
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    private static final long serialVersionUID = 1L;

    /**
     * 机构id
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_institution.id
     *
     * @param id the value for t_institution.id
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 机构类型id
     */
    public String getInstitutionTypeId() {
        return institutionTypeId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_institution.institutionTypeId
     *
     * @param institutionTypeId the value for t_institution.institutionTypeId
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setInstitutionTypeId(String institutionTypeId) {
        this.institutionTypeId = institutionTypeId == null ? null : institutionTypeId.trim();
    }

    /**
     * 机构关联id
     */
    public Long getDetailInstitutionId() {
        return detailInstitutionId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_institution.detailInstitutionId
     *
     * @param detailInstitutionId the value for t_institution.detailInstitutionId
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setDetailInstitutionId(Long detailInstitutionId) {
        this.detailInstitutionId = detailInstitutionId;
    }

    /**
     * 机构关联名称
     */
    public String getDetailInstitutionName() {
        return detailInstitutionName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column t_institution.detailInstitutionName
     *
     * @param detailInstitutionName the value for t_institution.detailInstitutionName
     *
     * @mbg.generated Thu Jun 15 17:12:08 CST 2023
     */
    public void setDetailInstitutionName(String detailInstitutionName) {
        this.detailInstitutionName = detailInstitutionName == null ? null : detailInstitutionName.trim();
    }
}